package cn.sunxyz.idea.demo.aspect;

import java.lang.reflect.Method;

/**
 * 提供声明式通知 实现方式为 数组
 * Created by yangrd on 2017/5/25.
 */
public interface AdviceAspect extends Aspect {
    boolean filter(Object object, Method method, Object[] args);

    void before(Object object, Method method, Object[] args);

    void after(Object object, Method method, Object[] args, Object result);

    void exception(Object object, Method method, Object[] args, Exception e);
}
